// 写我的页面发送的请求
import request from "../untils/request";
/**
 * 预下单// 待发货
 * 
 */
export const getOrderPre = () => {
	return request('/api/front/order/list?type=0&page=1&limit=20');
}
/**
 * 待发货
 * 
 */
export const getUnreceived = () => {
	return request('/api/front/order/list?type=1&page=1&limit=20');
}
// 待收货
export const getreceived = () => {
	return request('/api/front/order/list?type=2&page=1&limit=20');
}
// 待评价
export const getevaluated = () => {
	return request('/api/front/order/list?type=3&page=1&limit=20');
}
// 已完成
export const getcomplated = () => {
	return request('/api/front/order/list?type=4&page=1&limit=20');
}

//订单详情
export const getorderlist = (orderId) => {
	return request('/api/front/order/detail',{orderId:orderId});
}




















